<include file="Public:header" />
<div class="row">
    <div class="col-lg-12">
    </div>
</div>
<style>
	#header{ padding:15px 0;}
	.action{ text-decoration:underline;}
	.close{ font-size:inherit;}
	.groupWrapper{ min-height:30px;padding-left:5px}
	.form-text{ color:#888; width:180px; padding-right:20px; text-align:right; font-weight:bold; height:50px;}
	.tag-list{ padding:0; list-style:none;}
	.tag-list li{ position:relative;}
	.form-list .btn{  margin-right:14px;}
	.tag-list .ok {top: -5px;right: 5px;height: 13px;width: 16px;position: absolute; color:#6bd2ac; background-color:white;}
	.ui-sortable-placeholder {border: 4px dotted #eee;visibility: visible !important; background-color:rgba(255,255,255,0.3);}
	.ui-sortable-placeholder * {visibility: hidden;}
	.task-widget ul{padding: 0; list-style:none}
	.list ul li:hover{ background:#f8f8f8;}
	.task-widget ul li span{ color:#666;}
	.task-widget ul li label {font-weight: normal;margin: 0;cursor: pointer;width: 100%;display: block;padding: 10px 15px 12px 10px; font-size:13px;}
	.Jh_edit{ transition:0.2s outline ease-in-out; outline:5px dotted #ddd; }
	.groupItem{ margin-bottom:20px;}
	.ico_layout{display: block;height: 38px;margin: 0 auto 3px;width: 54px;transform: scale(0.6);background-image: url('/Public/Intesys/AdminX/js/portlet_draggable/icon_layout.png');}
	.blog-post,.blog-post i{font-size:13px ;padding:10px;}
	.blog-post h3{ font-size:14px;}
	/* 进入布局模式的时候的图标样式     Jh_edit  min-height:60px;*/
	.ico_layout_13{background-position: -1366px -47px;}
	.ico_layout_131{background-position: -1476px -39px;}
	.ico_layout_22{background-position: -1438px 0;}
	.ico_layout_112{background-position: -1421px -39px;}
	.ico_layout_121{background-position: -1383px 0;}
	.ico_layout_4{background-position: -1493px 0;}
	.ico_layout_31{background-position: -1531px -39px;}
	.ico_layout_211{background-position: -1603px 0;}
</style>
<include file="Public:script" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Js/zTree_v3/css/zTreeStyle/zTreeStyle.css">
<script src="__PUBLIC__/Js/highcharts.src.js"></script>
<script type="text/javascript" src="__PUBLIC__/Intesys/AdminX/js/portlet_draggable/Jh.js"></script>
<script type="text/javascript" src="/Public/Js/zTree_v3/js/jquery.ztree.core-3.5.js"></script>
<script>
$(function(){
	//点击显示菜单
	/*$(".notification-menu").on("click","#showHeader",function(){
		console.log($("#header").css("display"));
		if($("#header").css("display")=='none'){
			$(".groupWrapper").sortable('enable');
		}else{
			$(".groupWrapper").sortable('disable');
		}
		$("#header").toggle('fast');
		$(".groupItem").toggleClass("Jh_edit");
	});	*/
	//拖动功能的配置
	Jh.Config.saveUrl='{:U('Pages_layout/savePage')}';
	Jh.Config.addUrl='{:U('Pages_layout/add',['title'=>'Indexindex'])}';
	Jh.Config.pageTit='Indexindex';
	Jh.Config.mainUrl='{:__GROUP__}';
	
	//异步获取模块并触发模块化和取消拖动
	var ajaxloading = $('<div class="ajaxloading"></div>');
	ajaxloading.appendTo('body');
	$.getJSON('{:U('Pages_layout/getPage',['title'=>'Indexindex'])}',{},function(data){
		if(data.statu){
			Jh.fn.init(data.data,data.layout);
			Jh.Portal.init(data.data,data.layout);
			
			<?php if(!isset($_REQUEST['layoutMode'])){ ?>
				$(".groupWrapper").sortable('disable');
			<?php }else{ ?>
				$("#header").toggle('fast');
				$(".groupItem").toggleClass("Jh_edit");
			<?php } ?>
			ajaxloading.remove();
		}
	});
});
</script>
<eq name="siteInfo['step']" value="0">
    <div id="waitsetmember">
    </div>
    <div class="waitsetmember" style="position:fixed; z-index:1; top:0; bottom:0; left:0; right:0;" onMouseMove="$('#waitsetmember').removeClass('ajaxloading');$(this).remove();">
    </div>
    <script>
	$('#waitsetmember').addClass('ajaxloading');
	var setMember_position = function(){
		/*_openWindow('{:U('Member/edit', array('ajax' => 1))}',650, '完善个人资料', '确定',function(){
			$('#waitsetmember').removeClass('ajaxloading');
			$('.waitsetmember').remove();
			//window.location.href="{:U('Member_position/indexiframe')}";
		},'');*/
	}
	_openWindow('{:U('Sitestep/step1')}', 500, '完善公司资料', '保存', setMember_position, '',true;);
	</script>
</eq>
<gt name="siteInfo['step']" value="0">
    <eq name="setup" value="0">
        <div id="waitset">
        </div>
        <div class="waitsetmember" style="position:fixed; z-index:1; top:0; bottom:0; left:0; right:0;" onMouseMove="$('#waitset').removeClass('ajaxloading');$(this).remove();">
        </div>
        <script>
		$('#waitset').addClass('ajaxloading');
		var setMember = function(){
			$('#waitset').removeClass('ajaxloading');
			$('.waitsetmember').remove();
			return true;
		}
		<empty name="particular2">
		
		
		<eq name="memberInfo['isadministrator']" value="0">
			_openWindow('{:U('Taskform/getform', array('id' => $particular2formid, 'nomember' => 1))}',650, '登记个人信息', '提交',setMember,'',true);
			
		</eq>
			
			
		</empty>
		</script>
    <else/>
        <empty name="particular2">
		<script>
			_openWindow('{:U('Taskform/getform', array('id' => $particular2formid, 'nomember' => 1))}',650, '登记个人信息', '提交',null,'',true);
		</script>
        </empty>
    </eq>
</gt>
<if condition="in_array($memberInfo['id'], getManagerList($accessList, 'Intesys', 'Index', 'detection'))">
<script>
    $.ajax({
		'url' : '{:U('detection')}',
		dataType:"json",
		type:'POST',
		error : function (ret){
			alert('超时');
		},
		timeout: 30000,
		success:function(ret){
			for(var o in ret){
				if(ret[o].status == 1){
					var d = artDialog({
						title: '基本设置未完成',
						content: '<p>' +ret[o].error+' <a href="'+ret[o].url+'" target="_blank">查看详细</a></p>',
						cancel: true,
						effect:true,
						lock : true,
						fixed:true
					});
					d.show();
				}
			}
		}
	});
</script>
</if>
<!--判断当前站点什么没有，并判断需要做什么操作-->
<?php if(){ ?>

<?php } ?>



</body></html>